package com.star.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr Kong
 * @since 2020-10-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BookInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 书籍主键
     */
    @TableId(value = "book_id", type = IdType.AUTO)
    private Integer bookId;

    /**
     * 书籍名称
     */
    private String bookName;

    /**
     * 书籍作者
     */
    private String bookAuthor;

    /**
     * 书籍图片地址
     */
    private String bookImgurl;

    /**
     * 书籍类型
     */
    private String bookType;

    /**
     * 书籍介绍
     */
    private String bookDesc;

    /**
     * 书籍加入时间
     */
    private String bookAddtime;

    /**
     * 书籍更新时间
     */
    private String bookUpdatetime;


}
